#ifndef ALLOYS_DIALOG_H
#define ALLOYS_DIALOG_H

#include <QtWidgets>

class AlloyPropertiesDialog : public QDialog{
    Q_OBJECT
public:
    explicit AlloyPropertiesDialog(QListWidgetItem * item, QAbstractItemModel * compoundList, QWidget * parent = 0);

signals:

public slots:
    void populate();

private:
    QLineEdit* name_LE;
    QLineEdit* Eg_LE;
    QLineEdit* a_lc_LE;
    QLineEdit* delta_so_LE;
    QLineEdit* vbo_LE;
    QLineEdit* mass_ef_LE;
    QLineEdit* ac_LE;
    QLineEdit* av_LE;
    QLineEdit* b_LE;
    QLineEdit* c11_LE;
    QLineEdit* c12_LE;
    QLabel* bowling_label;

    QComboBox * firstCompoundCB;
    QComboBox * secondCompoundCB;

    QPushButton * execute_button;
    QPushButton * cancel_button;

    QAbstractItemModel* m_list;
    QListWidgetItem* m_item;
};

#endif // ALLOYS_DIALOG_H
